﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterPage.master"
    CodeBehind="Search_Shop.aspx.cs" Inherits="IMIS_ERP.Web.Order_Info.Search_Shop" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="../Styles/order.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="body_top">
        <img src="../images/tab_t_l.gif" alt="" />
        <span class="f1">您当前的位置</span>：【财务管理】-【销售汇总查询】
    </div>
    <div class="body_main">
        <div class="line1">
            <div class="lineLeft">
                订单状态：</div>
            <div class="lineRight">
                <asp:DropDownList ID="ddloiStatus" runat="server" ToolTip="请选择需要查询的订单状态">
                    <asp:ListItem>下单</asp:ListItem>
                    <asp:ListItem>完成</asp:ListItem>
                    <asp:ListItem>交付</asp:ListItem>
                    <asp:ListItem>已安装</asp:ListItem>
                </asp:DropDownList>
            </div>
        </div>
        <div class="line2">
            <div class="lineLeft">
                开始时间：</div>
            <div class="lineRight">
                <asp:TextBox ID="txthTime1" runat="server" Width="150px" ToolTip="请输入需要查询的开始时间"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfv1" runat="server" ErrorMessage="开始日期不能为空" ForeColor="Red"
                    ControlToValidate="txthTime1"></asp:RequiredFieldValidator>
                <asp:CalendarExtender ID="cde1" Format="yyyy-MM-dd" TargetControlID="txthTime1" runat="server">
                </asp:CalendarExtender>
            </div>
        </div>
        <div class="line1">
            <div class="lineLeft">
                截止时间：</div>
            <div class="lineRight">
                <asp:TextBox ID="txthTime2" runat="server" Width="150px" ToolTip="请输入需要查询的结束时间"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfv2" runat="server" ErrorMessage="结束日期不能为空" ForeColor="Red"
                    ControlToValidate="txthTime2"></asp:RequiredFieldValidator>
                <asp:CalendarExtender ID="cde2" Format="yyyy-MM-dd" TargetControlID="txthTime2" runat="server">
                </asp:CalendarExtender>
            </div>
        </div>
        <div id="bottom">
            <asp:Label ID="lblMessage" runat="server" CssClass="msg"></asp:Label><br />
            <asp:Button ID="btnSave" runat="server" Text="查询" OnClick="btnSave_Click" CssClass="btn">
            </asp:Button>
        </div>
        <asp:GridView ID="GV" CssClass="GV" runat="server" CellPadding="3" AutoGenerateColumns="False"
            DataKeyNames="opPcID" OnRowCreated="GV_RowCreated" EmptyDataText="没有相关数据">
            <Columns>
                <asp:BoundField DataField="opPcID" HeaderText="产品型号" />
                <asp:BoundField DataField="opNumSum" HeaderText="数量总计(个)" />
                <asp:BoundField DataField="opAreaSum" HeaderText="面积总计(平方米)" />
                <asp:BoundField DataField="opWeightSum" HeaderText="重量总计(千克)" />
                <asp:BoundField DataField="opFee1Sum" HeaderText="结算金额(元)" />
                <asp:BoundField DataField="opFee2Sum" HeaderText="销售金额(元)" />
            </Columns>
            <RowStyle CssClass="gv_row" />
            <SelectedRowStyle CssClass="gv_sel" />
            <PagerStyle CssClass="gv_pag" />
            <HeaderStyle CssClass="gv_hea" />
            <AlternatingRowStyle CssClass="gv_alt" />
            <FooterStyle CssClass="gv_foo" />
        </asp:GridView>
    </div>
</asp:Content>
